package com.ruoyi.resource.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 资源信息对象 resource_info
 * 
 * @author ruoyi
 * @date 2023-05-14
 */
public class ResourceInfo extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 自增id */
    private Long id;

    /** 屏幕号 */
    @Excel(name = "屏幕号")
    private Long screenNumber;

    /** 是否有资源 */
    @Excel(name = "是否有资源")
    private Long hasResource;

    /** 资源类型 */
    @Excel(name = "资源类型")
    private Long resourceType;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setScreenNumber(Long screenNumber) 
    {
        this.screenNumber = screenNumber;
    }

    public Long getScreenNumber() 
    {
        return screenNumber;
    }
    public void setHasResource(Long hasResource) 
    {
        this.hasResource = hasResource;
    }

    public Long getHasResource() 
    {
        return hasResource;
    }
    public void setResourceType(Long resourceType) 
    {
        this.resourceType = resourceType;
    }

    public Long getResourceType() 
    {
        return resourceType;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("screenNumber", getScreenNumber())
            .append("hasResource", getHasResource())
            .append("resourceType", getResourceType())
            .toString();
    }
}
